Skip to content

Release v0.11.4#114

Merged
esto-openscan merged 11 commits into
mainfrom
develop
May 6, 2026
Merged

Release v0.11.4#114
esto-openscan merged 11 commits into
mainfrom
develop

Conversation

@esto-openscan
Copy link
Copy Markdown
Member

This PR merges recent developments into main thus creating release v0.11.4

esto-openscan and others added 11 commits April 28, 2026 12:41
- Introduced `pause_before_capture_ms` setting to allow configurable delays before photo capture.
- Enhanced scan logic to detect cancellation before and during the pause.
- Updated schema to include the new pause setting with validation.
…nge validation

- Updated `focus_range` type in `ScanSetting` to use `Annotated` for clearer and more reusable validation constraints.
- Replaced `confloat` with the `FocusValue` type alias for focus range fields.
…narios

- Added tests for `pause_before_capture_ms` behavior, including handling of delay, cancellation, and resume scenarios.
- Improved test coverage for photo capture logic during cancellation.
- Verified default pause setting for legacy scan configurations.
…lt phi constraints

- Added new tests for `get_constrained_path` to validate behavior for fixed theta and phi constraints, as well as fully fixed positions.
- Updated existing tests to reflect default `min_phi` and `max_phi` values.
- Adjusted validation logic to handle equal theta/phi bounds and default values.
- Enhanced path generation to account for fully constrained positions and edge cases.
… handling

- Added comprehensive tests for GPIO auto-initialization, error cases, and router patch handling.
- Introduced new motor tests for movement execution, direction handling, and stop behavior.
- Restored and updated scan task path generation tests to validate phi constraints and default values.
- Enhanced mocking strategies to simplify setup for hardware and executor dependencies.
Allow equal phi and theta angles in constrained paths
# Conflicts:
#	tests/controllers/services/test_scan_task.py
Feature: Adjustable pause before capture in scan task
Adds PWM-backed light control with percentage-based intensity handling.

- Add PWM configuration defaults and validation for light configs
- Map light intensity values (`0..100`) to the configured PWM range (`pwm_min..pwm_max`)
- Handle hardware PWM cleanup through the PWM helper
- Expose the current light intensity in `LightStatusResponse`
- Add PWM developer documentation
- Add/update light controller tests for intensity status and value clamping

Co-authored-by: esto <esto@openscan.eu>
…#113)

* feat(device): introduce PWM configuration and idle timeout support

- Added new fields for PWM frequency, min, and max voltage in the light configuration schema.
- Introduced `idle_timeout` to replace and mirror `motors_timeout` for backward compatibility.
- Updated models, controllers, and routers to handle `idle_timeout` in device settings.
- Extended OpenAPI definitions to support new PWM and timeout configurations.
- Adjusted tests to validate changes in timeout handling and PWM intensity settings.

* feat(device): add wakeup endpoint to resume idle devices

- Introduced `/wakeup` endpoint to bring devices out of idle mode.
- Device auto-recalibrates upon wake if calibration is required.
- Updated OpenAPI definitions and tests to include wakeup functionality.

* chore: bump version to 0.11.4 in pyproject.toml
@esto-openscan esto-openscan merged commit 09f2000 into main May 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants